-
Notifications
You must be signed in to change notification settings - Fork 7
add a test to compare atmosphere and surface fluxes #1541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
f125e15 to
c2ff263
Compare
| CC.Utilities.half, | ||
| ) | ||
|
|
||
| # Integrated land: compare to net radiation stored in the bucket cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Integrated land: compare to net radiation stored in the bucket cache | |
| # Bucket land: compare to net radiation stored in the bucket cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Also, I realized that with our current way of computing radiation, there will be an offset of one timestep between atmosphere and land, so they won't be the same. We can think about what the best way to test it is.
| # Convention note: bucket R_n is stored with the opposite sign (see climaland_bucket.jl), | ||
| # so we compare atmos_flux ≈ -R_n on land points. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Convention note: bucket R_n is stored with the opposite sign (see climaland_bucket.jl), | |
| # so we compare atmos_flux ≈ -R_n on land points. | |
| # Convention note: bucket R_n is stored with the same sign (positive upward, see climaland_bucket.jl), | |
| # so we compare atmos_flux ≈ R_n on land points. |
| # - Bucket land: compares against `sim.integrator.p.bucket.R_n` with opposite sign | ||
| # convention (so atmos ≈ -R_n) on land-dominant cells. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # - Bucket land: compares against `sim.integrator.p.bucket.R_n` with opposite sign | |
| # convention (so atmos ≈ -R_n) on land-dominant cells. | |
| # - Bucket land: compares against `sim.integrator.p.bucket.R_n` on land-dominant cells. |
Purpose
closes #1536
To-do
Content